import {createApp} from 'vue'
import ArcoVue from '@arco-design/web-vue';
import App from './App.vue';
import '@arco-design/web-vue/dist/arco.css';
import {createPinia} from 'pinia'
// 额外引入图标库
import ArcoVueIcon from '@arco-design/web-vue/es/icon';
import {router} from "./router";
import "./assets/main.css";
import 'bytemd/dist/index.css'
import {Message} from '@arco-design/web-vue';

const pinia = createPinia()
const app = createApp(App);
Message._context = app._context;
app.use(ArcoVue);
app.use(ArcoVueIcon);
app.use(pinia)
app.use(router)
app.mount('#app');
